<!DOCTYPE html>

<!--[if IE 8]><html class="ie8"><![endif]-->
<!--[if IE 9]><html class="ie9"><![endif]-->
<!--[if gt IE 9]><!-->
<html>
<!--<![endif]-->

<head>
    <title>选座购票_影院地址电话_优惠服务-买票票电影</title>
    <script>
        "use strict";
        ! function() {
            var i = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : "_Owl_",
                n = window;
            n[i] || (n[i] = {
                isRunning: !1,
                isReady: !1,
                preTasks: [],
                dataSet: [],
                use: function(i, t) {
                    this.isReady && n.Owl && n.Owl[i](t), this.preTasks.push({
                        api: i,
                        data: [t]
                    })
                },
                add: function(i) {
                    this.dataSet.push(i)
                },
                run: function() {
                    var t = this;
                    if (!this.isRunning) {
                        this.isRunning = !0;
                        var i = n.onerror;
                        n.onerror = function() {
                            this.isReady || this.add({
                                type: "jsError",
                                data: arguments
                            }), i && i.apply(n, arguments)
                        }.bind(this), (n.addEventListener || n.attachEvent)("error", function(i) {
                            t.isReady || t.add({
                                type: "resError",
                                data: [i]
                            })
                        }, !0)
                    }
                }
            }, n[i].run())
        }();
    </script>
    <script>
        cid = "c_93ziierd";
        ci = 1;
        window.system = {
            "cinemaImgs": [{
                "imgid": 3035898,
                "imgDesc": "首图",
                "url": "http://p1.meituan.net/deal/201104/25/_0425185733.jpg"
            }, {
                "imgid": 60007866,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/072eb33f40fdfaa72a07ad966eaf3f5158657.jpg"
            }, {
                "imgid": 71215996,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/386d5a8b9528c6943ad0875fb9882f0b62924.jpg"
            }, {
                "imgid": 71215995,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/65f009b361c018d2cd5943175837df4e118184.jpg"
            }, {
                "imgid": 71215991,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/ac6138b5388efa58c3ecd606bf3b3e1d75967.jpg"
            }, {
                "imgid": 71215990,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/cb8444df2be6910b6e54ef7ed4f50d8b23049.jpg"
            }, {
                "imgid": 70326968,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/951248b11e015d71400d84141a47549f43880.jpg"
            }, {
                "imgid": 70326967,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/c9a1cdd4ace05b8635abcc0b648928b575080.jpg"
            }, {
                "imgid": 70326966,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/1f20352be86c05b8b2cd5762ab410fa618288.jpg"
            }, {
                "imgid": 70326959,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/2876064ec83ef36b8ce9e12ae457df8b48359.jpg"
            }, {
                "imgid": 69163218,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/8726941eba8fb220ce5347477a8b72d596632.jpg"
            }, {
                "imgid": 68908578,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/88aa5f8b0365749599d7b3fd83946d5576099.jpg"
            }, {
                "imgid": 68772148,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/e8d1b0297ad2973b63ef04d4965c6356101133.jpg"
            }, {
                "imgid": 68772139,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/aa7391daeaf244cf99f08f34c4cccf9192261.jpg"
            }, {
                "imgid": 68772138,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/fb6ec89ddee2cf6b353234cf48b0a780128337.jpg"
            }, {
                "imgid": 68553463,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/7df2523a6af69ffa34b53fb4fb9904b350342.jpg"
            }, {
                "imgid": 68553458,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/4738be3c8bc52d9f554ab6d39a63c28852897.jpg"
            }, {
                "imgid": 68553453,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/18bc794feca5d1df2565b4ccf408cec852984.jpg"
            }, {
                "imgid": 68489492,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/36e90b84671f0b4fa522da8fd75ecb9830487.jpg"
            }, {
                "imgid": 68469040,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/94fc42ab1eac633bfa517a4c37fb988725256.jpg"
            }, {
                "imgid": 68446796,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/7c5afca27a5b4c4741d31bacb38af0a992967.jpg"
            }, {
                "imgid": 68381929,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/96fd5beedf2200d7fdda9eab5f17dc1061224.jpg"
            }, {
                "imgid": 68381918,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/7d62a714dd550a1d281582f97b6b365461471.jpg"
            }, {
                "imgid": 68381899,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/a4c6cb74ec01f1304ec79748c79f267935658.jpg"
            }, {
                "imgid": 68027059,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/7a3f36c8f0fbd069d3a17aa5f730e8be54497.jpg"
            }, {
                "imgid": 67849036,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/8b9b3b88a0bc5127f52ac43a6c2ab5cc78335.jpg"
            }, {
                "imgid": 67787227,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/cb3c73f4668ba1606511975c32065b8c111910.jpg"
            }, {
                "imgid": 67447606,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/2792e46d9526a4411fb9399fc7bc824857780.jpg"
            }, {
                "imgid": 67447601,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/792bedfc8ef4bea50bceeadc01fafc2a70483.jpg"
            }, {
                "imgid": 67447591,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/832c29930bf0dabde371e32d0d5784f864871.jpg"
            }, {
                "imgid": 67438805,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/edbc3b66787c0937afca7562ff5f419c44121.jpg"
            }, {
                "imgid": 67250453,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/15e5e84851847a7fbaf2e99127cd7e2d67461.jpg"
            }, {
                "imgid": 67250448,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/82d41d86a6057486109e5eacbf20031269089.jpg"
            }, {
                "imgid": 67076693,
                "imgDesc": "带奶奶看电影 ",
                "url": "http://p1.meituan.net/shaitu/de5deea0b1f869594393b3bd46f0773770227.jpg"
            }, {
                "imgid": 66951640,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/cb977e89274e7c136936961f2f945a41110946.jpg"
            }, {
                "imgid": 66863414,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/e88093a9ee6f45f1d1f1098695f9d63512275.png"
            }, {
                "imgid": 66863407,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/a082e41fb68ac92737d8533698dbd58729901.png"
            }, {
                "imgid": 66863406,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/8284fe10180d0f381bbd7177b4f3382610905.png"
            }, {
                "imgid": 66772032,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/0a143080b9a014a95f83eb6f4bfc1191103164.jpg"
            }, {
                "imgid": 66513148,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/d6024fad1dcfe4447506deb534b1679f58680.jpg"
            }, {
                "imgid": 66210063,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/3c313ed396c4547a2e6f9e65a285696163913.jpg"
            }, {
                "imgid": 66210051,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/7bcfdbb5c4ca8597a4df590b4ea9894952398.jpg"
            }, {
                "imgid": 66210049,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/cd0b287019c41def7f6385a55dab61a058635.jpg"
            }, {
                "imgid": 65980840,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/3beede6c5c7deefaa8bb9125883814aa90435.jpg"
            }, {
                "imgid": 65891736,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/f34130569460e545308f83ee6e41a27c52661.jpg"
            }, {
                "imgid": 65827248,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/138c459294a331da90d01788131a9e6c102915.jpg"
            }, {
                "imgid": 65759044,
                "imgDesc": "",
                "url": "http://p0.meituan.net/shaitu/3dfa29486885973039ea4a4576f2d07d63006.jpg"
            }, {
                "imgid": 65572272,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/a37c13e82150741bbe857f09f11272e792995.jpg"
            }, {
                "imgid": 65572270,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/8746aee25066b8141a9f0b02b591db2376424.jpg"
            }, {
                "imgid": 65572269,
                "imgDesc": "",
                "url": "http://p1.meituan.net/shaitu/b5e4c922c702fb97390a3c3410c1a3b360302.jpg"
            }]
        };

        window.openPlatform = '';
        window.openPlatformSub = '';
        window.$mtsiFlag = '0';
    </script>
    <link rel="stylesheet" href="../css/common.6b1d782c.css">
    <link rel="stylesheet" href="../css/cinemas-cinema.b26baff1.css">
    <script crossorigin="anonymous" src="../js/stat.88d57c80.js"></script>
    <script>
        if (window.devicePixelRatio >= 2) {
            document.write(
                '<link rel="stylesheet" href="//s3plus.meituan.net/v1/mss_e2821d7f0cfe4ac1bf9202ecf9590e67/cdn-prod/file:5788b470/image-2x.8ba7074d.css"/>'
            )
        }
    </script>
    <style>
        @font-face {
            font-family: stonefont;
            src: url(&#x27;fonts/01e0fbdbd6b5a4bc8ba1fe8a890a649d3440.eot&#x27;);
            src: url(&#x27;fonts/01e0fbdbd6b5a4bc8ba1fe8a890a649d3440.eot#iefix&#x27;) format(&#x27; embedded-opentype&#x27; ),
        url(&#x27;fonts/f0a30a4dda64b4f8f344858115f54fc92296.woff&#x27;) format(&#x27; woff&#x27; );
        }

        .stonefont {
            font-family: stonefont;
        }
    </style>
    <script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?703e94591e87be68cc8da0da7cbd0be2";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
</head>

<body>


<div class="header">
    <div class="header-inner">
        <a href="//maoyan.com" class="logo" data-act="icon-click">买票票电影</a>
        <div class="city-container" data-val="{currentcityid:1 }">
            <div class="city-selected">
                <div class="city-name">
                    西安
                    <span class="caret"></span>
                </div>
            </div>
            <div class="city-list" data-val="{ localcityid: 1 }">
                <div class="city-list-header">定位城市：<a class="js-geo-city" data-ci="1">西安</a></div>
            </div>
        </div>
        <div class="nav">
            <ul class="navbar">
                <li><a href="../movie/homepage" data-act="home-click">首页</a></li>
                <li><a href="../movie/movieAll?status=1" data-act="movies-click" class="active">电影</a></li>
                <li><a href="../movie/cinemaAll" data-act="cinemas-click">影院</a></li>
                <li><a href="../list" data-act="board-click">榜单</a></li>
            </ul>
        </div>
        <div class="user-info">
            <div class="user-avatar J-login">
                <img src="../images/7dd82a16316ab32c8359debdb04396ef2897.png">
                <span class="caret"></span>
                <ul class="user-menu no-login-menu" id="myMessage">
                    <li><a href="../page/login">登录</a></li>
                </ul>
            </div>
        </div>

        <form action="/movie/getMovie" target="_blank" class="search-form" data-actform="search-click">
            <input name="movieName" class="search" type="search" maxlength="32" placeholder="快来搜索想看的电影吧"
                   autocomplete="off">
            <input class="submit" type="submit" value>
        </form>

        <div class="app-download">
            <a href="/app" target="_blank">
                <span class="iphone-icon"></span>
                <span class="apptext">APP下载</span>
                <span class="caret"></span>
                <div class="download-icon">
                    <p class="down-title">扫码下载APP</p>
                    <p class="down-content">选座更优惠</p>
                </div>
            </a>
        </div>

    </div>
</div>
<div class="header-placeholder"></div>
<span id="cinemaSpan"></span>
<div class="container" id="app">
    <span id="cinemaNameSpan"></span>


    <div class="show-list active" data-index="0">
        <span id="movieBymovieIdSpan"></span> <!--电影详情-->
        <span id="sysdate"></span> <!--系统当前时间 -->


                <span id="moviePlanSpan"></span> <!--放映 安排 详情  -->


    </div>

    <div class="big-map-modal" style="display: none">
        <div class="close-map"></div>
        <div class="big-map"></div>
    </div>
</div>

<div class="footer">
    <p class="friendly-links">
        关于买票票 :
        <a href="http://ir.maoyan.com/s/index.php#pageScroll0" target="_blank">关于我们</a>
        <span></span>
        <a href="http://ir.maoyan.com/s/index.php#pageScroll1" target="_blank">管理团队</a>
        <span></span>
        <a href="http://ir.maoyan.com/s/index.php#pageScroll2" target="_blank">投资者关系</a>
        &nbsp;&nbsp;&nbsp;&nbsp;
        友情链接 :
        <a href="http://www.meituan.com" data-query="utm_source=wwwmaoyan" target="_blank">美团网</a>
        <span></span>
        <a href="http://www.gewara.com" data-query="utm_source=wwwmaoyan">格瓦拉</a>
        <span></span>
        <a href="http://i.meituan.com/client" data-query="utm_source=wwwmaoyan" target="_blank">美团下载</a>
        <span></span>
        <a href="https://www.huanxi.com" data-query="utm_source=maoyan_pc" target="_blank">欢喜首映</a>
    </p>
    <p class="friendly-links">
        商务合作邮箱：v@maoyan.com
        客服电话：10105335
        违法和不良信息举报电话：4006018900
    </p>
    <p class="friendly-links">
        用户投诉邮箱：tousujubao@meituan.com
        舞弊线索举报邮箱：wubijubao@maoyan.com
    </p>
    <p class="friendly-links  credentials">
        <a href="/about/licence/1" target="_blank">中华人民共和国增值电信业务经营许可证 京B2-20190350</a>
        <span></span>
        <a href="/about/licence/4" target="_blank">营业性演出许可证 京演（机构）（2019）4094号</a>
    </p>
    <p class="friendly-links  credentials">
        <a href="/about/licence/3" target="_blank">广播电视节目制作经营许可证 （京）字第08478号</a>
        <span></span>
        <a href="/about/licence/2" target="_blank">网络文化经营许可证 京网文（2019）3837-369号 </a>
    </p>
    <p class="friendly-links  credentials">
        <a href="/rules/agreement" target="_blank">买票票用户服务协议 </a>
        <span></span>
        <a href="/rules/rule" target="_blank">买票票平台交易规则总则 </a>
        <span></span>
        <a href="/rules/privacy" target="_blank">隐私政策 </a>
    </p>
    <p class="friendly-links  credentials">
        <a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010102003232"
           target="_blank">京公网安备
            11010102003232号</a>
        <span></span>
        <a href="http://www.beian.miit.gov.cn/" target="_blank">京ICP备16022489号-1</a>
    </p>
    <p>西安买票票文化传媒有限公司</p>
    <p>
        &copy;<span class="my-footer-year">2016</span>
        买票票电影 maoyan.com</p>
    <div class="certificate">
        <a href="http://sq.ccm.gov.cn:80/ccnt/sczr/service/business/emark/toDetail/350CF8BCA8416C4FE0530140A8C0957E"
           target="_blank">
            <img src="../images/e54374ccf134d1f7b2c5b075a74fca525326.png">
        </a>
        <a href="/about/licence/5" target="_blank">
            <img src="../images/805f605d5cf1b1a02a4e3a5e29df003b8376.png">
        </a>
        <a href="https://www.12377.cn" target="_blank">
            <img src="../images/3cd2a9b7dc179531d20d27a5fd686e783787.png">
        </a>
    </div>
</div>

<script crossorigin="anonymous" src="../js/owl_1.7.11.js"></script>
<script>
    Owl.start({
        project: 'com.sankuai.movie.fe.mywww',
        pageUrl: location.href.split('?')[0].replace(/\/\d+/g, '/:id'),
        devMode: false
    })
</script>
<!--[if IE 8]><script crossorigin="anonymous" src="//s3plus.meituan.net/v1/mss_e2821d7f0cfe4ac1bf9202ecf9590e67/cdn-prod/file:5788b470/es5-shim.bbad933f.js"></script><![endif]-->
<!--[if IE 8]><script crossorigin="anonymous" src="//s3plus.meituan.net/v1/mss_e2821d7f0cfe4ac1bf9202ecf9590e67/cdn-prod/file:5788b470/es5-sham.d6ea26f4.js"></script><![endif]-->
<script crossorigin="anonymous" src="../js/common.f4713c37.js"></script>
<script crossorigin="anonymous" src="../js/cinemas-cinema.f5ee2365.js"></script>
</body>
<script>
    $(function(){ // 页面 加载机制
        cinemaByCinemaId();
        movieByCinema(); // 获取影院的电影
        sysDate(); // 系统当前时间
        myMessage();
    })
    function cinemaByCinemaId() {
        $.ajax({
            url:"../lzyConsumer/chooseByCinemaId",
            data:{cinemaId:[[${cinemaId}]]},
            success:function(data){
                var str = "";
                var strName = "";
                str += '<div class="banner cinema-banner">\n' +
                    '    <div class="wrapper clearfix">\n' +
                    '        <div class="cinema-left">\n' +
                    '            <div class="avatar-shadow">\n' +
                    '                <img class="avatar" src="'+data.cinemaImg+'" alt="1234354（碑林万达广场IMAX店）">\n' +
                    '            </div>\n' +
                    '        </div>\n' +
                    '\n' +
                    '        <div class="cinema-main clearfix">\n' +
                    '            <div class="cinema-brief-container">\n' +
                    '                <h1 class="name text-ellipsis">'+data.cinema+'</h1>\n' +
                    '                <div class="address text-ellipsis">'+data.cinemaSite+'</div>\n' +
                    '                <div class="telphone">电话：'+data.phone+'</div>\n' +
                    '\n' +
                    '                <div class="features-group">\n' +
                    '                    <div class="group-title">影院服务</div>\n' +
                    '\n'
                var cinemaServe = data.cinemaServe.split(",")
                    for (var i = 0; i < cinemaServe.length; i++) {
                        var serverInfo =   data.serverInfo.split(",");
                        str +=
                            '<div class="feature">\n' +
                            '<span class="tag ">'+cinemaServe[i]+'</span>\n' +
                            '<p class="desc text-ellipsis" title="'+serverInfo[i]+'">'+serverInfo[i]+'</p>\n' +
                            '</div>\n'
                    }
                    str += '                </div>\n' +
                        '            </div>\n' +
                        '        </div>\n' +
                        '    </div>\n' +
                        '</div>';
                    strName += '<div class="crumbs-nav-container">\n' +
                        '        <a href="/">买票票电影</a> &gt; <a href="/cinemas">影院</a> &gt; <span>'+data.cinema+'</span>\n' +
                        '    </div>  ';
                $("#cinemaSpan").html(str);
                $("#cinemaNameSpan").html(strName);
            }
        })
    }
    function movieByCinema() { // 根据影院查看电影
        $.ajax({
            url:'../lzyConsumer/movieByCinema',
            data:{movieId:[[${movieId}]]},
            success:function (data) {
                var str = '';
                str += ' <div class="movie-info">\n' +
                    '            <div>\n' +
                    '                <h2 class="movie-name">'+data.movieName+'</h2>\n' +
                    '                <span class="score sc">'+data.movieGrade+'</span>\n' +
                    '            </div>\n' +
                    '            <div class="movie-desc">\n' +
                    '                <div>\n' +
                    '                    <span class="key">时长 :</span>\n' +
                    '                    <span class="value">'+data.moviedate+'</span>\n' +
                    '                </div>\n' +
                    '                <div>\n' +
                    '                    <span class="key">类型 :</span>\n' +
                    '                    <span class="value">\n' +
                    '\t\t\t\t\t\t\t\t<a class="text-link" >'+data.typename+'</a>\n' +
                    '\t\t\t\t\t\t\t</span>\n' +
                    '                </div>\n' +
                    '                <div>\n' +
                    '                    <span class="key">主演 :</span>\n' +
                    '                    <span>'+data.roleName+'</span>\n' +
                    '                </div>\n' +
                    '            </div>\n' +
                    '        </div>';
                $("#movieBymovieIdSpan").html(str);

            }
        })
    }
    function sysDate() {
        var date  = new Date();
        var sysdate =  "今天"+(date.getMonth() + 1)+'月'+date.getDate()+"";
        var datesys = (date.getFullYear()+"-"+(date.getMonth() + 1)+"-"+date.getDate())
        var str = "";
        str += '        <div class="show-date">\n' +
            '            <span>观影时间 :</span>\n' +
            '            <span class="date-item active" data-index="0">'+sysdate+'</span>\n' +
            '        </div>';
        $("#sysdate").html(str);
       $.ajax({
           url:'../lzyConsumer/moviePlan',
           data:{cinemaid:[[${cinemaId}]],movieid:[[${movieId}]],date:datesys},
           success:function (data) {
               var strList = "";
               strList += '<div class="plist-container active">\n' +
                   '            <table class="plist">\n' +
                   '                <thead>\n' +
                   '                <tr>\n' +
                   '                    <th>放映时间</th>\n' +
                   '                    <th>语言版本</th>\n' +
                   '                    <th>放映厅</th>\n' +
                   '                    <th>售价（元）</th>\n' +
                   '                    <th>选座购票</th>\n' +
                   '                </tr>\n' +
                   '                </thead>\n' +
                   '                <tbody>';
               for (var i = 0; i < data.length; i++) {
                   if (i %2 != 0){
                       strList += '<tr class = "even">\n';
                   }else{
                       strList += '<tr class = "">\n';
                   }
                   strList +=
                       '                    <td>\n' +
                       '                        <span class="begin-time">'+data[i].playStartTime+'</span>\n' +
                       '                        <br>\n' +
                       '                        <span class="end-time">'+data[i].playEndTime+'散场</span>\n' +
                       '                    </td>\n' +
                       '                    <td>\n' +
                       '                        <span class="lang">'+data[i].movieLanguage+'</span>\n' +
                       '                    </td>\n' +
                       '                    <td>\n' +
                       '                        <span class="hall">'+data[i].hallname+'</span>\n' +
                       '                    </td>\n' +
                       '                    <td>\n' +
                       '\t\t\t\t\t\t\t\t\t<span class="sell-price"><span\n' +
                       '                                            class="stonefont">'+data[i].moviePrice+'.00</span></span>\n' +
                       '                    </td>\n' +
                       '                    <td>\n' +
                       '                        <a href="javascript:seat('+data[i].programId+',\''+data[i].playStartTime+'\','+data[i].moviePrice+')" class="buy-btn normal">选座购票</a>\n' +
                       '                    </td>\n' +
                       '                </tr>\n';
               }
               strList += ' </tbody>\n' +
                   '            </table>\n' +
                   '        </div>';
               $("#moviePlanSpan").html(strList);
           }
       })
    }
    // 选座 购票 页面 跳转
    function seat(programId,playStartTime,moviePrice) {
        var date  = new Date();
        var datesys = date.getHours()+""+date.getMinutes();
        var playStartTime2 =  playStartTime.substr(0,2)+""+playStartTime.substr(3,2);
        if (parseInt(playStartTime2) > parseInt(datesys)){
            location.href="../cinemaInfoPage/seat?programId="+programId+"&moviePrice="+moviePrice;
        }else{
            alert("当前影厅电影已经开始播放,请选择其他影厅"); // 弹框 待完善
            location.href=location;
        }
    }
    //判断登录内容
    function myMessage(){
        $.ajax({
            url:"../user/loginSession",
            type:"get",
            success:function(data){
                var str="";
                if( data != ""  ){
                    str+="<li><a href='../page/myMessage?stu=1' data-act=\"board-click\">我的订单</a></li>";
                    str+="<li><a href='../page/myMessage?stu=2' data-act=\"board-click\">基本信息</a></li>";
                    str+="<li><a href='../page/logout' data-act=\"movies-click\">退出登录</a></li>";

                    $("#portrait").prop("src",data.img)
                    $("#myMessage").html(str);
                }

            }
        })
    }
</script>
</html>
